package brc.syntacticTree;

import brc.syntacticTree.BinaryBooleanExprNode.LogicalOperation;

public abstract class BooleanExprNode implements TypedTreeNode {
	private static final long serialVersionUID = -5169602023661041341L;
	public BooleanExprNode And(BooleanExprNode other) {
		return new BinaryBooleanExprNode(this, other, LogicalOperation.And);
	}
	public BooleanExprNode Or(BooleanExprNode other) {
		return new BinaryBooleanExprNode(this, other, LogicalOperation.Or);
	}
	@Override
	public int getType() {
		return TypedTreeNode.TIPO_BOOLEANO;
	}
}
